<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>rectprintf</title>
    <link rel="stylesheet" type="text/css" href="../../css/index-table.css"/>
</head>
<body>

<pre><font size="4"><a href="../../index.htm">主页</a> / <a href="../index.htm">库函数目录</a> / <a href="index.htm">文字输出</a> / rectprintf</font>
<font size="4">
<font size="4" color="#0000FF"><strong>功能：</strong></font>

在指定矩形区域内格式化输出字符串。

<font size="4" color="#0000FF"><strong>声明：</strong></font>
<pre><font color=#0000FF>void </font><font color=#008080>rectprintf</font>(
    <font color=#0000FF>int </font>x,
    <font color=#0000FF>int </font>y,
    <font color=#0000FF>int </font>w,
    <font color=#0000FF>int </font>h,
    <font color=#800080>const char* </font>format,
    ...
);

<font color=#0000FF>void </font><font color=#008080>rectprintf</font>(
    <font color=#0000FF>int </font>x,
    <font color=#0000FF>int </font>y,
    <font color=#0000FF>int </font>w,
    <font color=#0000FF>int </font>h,
    <font color=#800080>const wchar_t* </font>format,
    ...
);
</pre>
<font size="4" color="#0000FF"><strong>参数：</strong></font>
x, y, w, h
要输出字符串所在的矩形区域

format
格式字符串。

...
要输出的内容的参数，类似 printf。

<font size="4" color="#0000FF"><strong>返回值：</strong></font>

（无）

<font size="4" color="#0000FF"><strong>示例：</strong></font>
无

</font>
</pre>

</body>

